package com.ikas.ai.score.properties;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Description: flow配置类
 * @Author: qi.yilai
 * @Date: 2022/8/15 19:48
 * @Version: 1.0.0
 **/
@ConfigurationProperties(prefix = "maintain.ai.flow.config")
public class FlowPropertiesConfig {

    private int coreSize;

    private int executorPoolSize;

    private int checkInterval;

    private int readyThresholdSize;

    private String flowInvokeHost;

    private int flowThreshold;

    public int getCoreSize() {
        return coreSize;
    }

    public void setCoreSize(int coreSize) {
        this.coreSize = coreSize;
    }

    public int getExecutorPoolSize() {
        return executorPoolSize;
    }

    public void setExecutorPoolSize(int executorPoolSize) {
        this.executorPoolSize = executorPoolSize;
    }

    public int getReadyThresholdSize() {
        return readyThresholdSize;
    }

    public void setReadyThresholdSize(int readyThresholdSize) {
        this.readyThresholdSize = readyThresholdSize;
    }

    public String getFlowInvokeHost() {
        return flowInvokeHost;
    }

    public void setFlowInvokeHost(String flowInvokeHost) {
        this.flowInvokeHost = flowInvokeHost;
    }

    public int getFlowThreshold() {
        return flowThreshold;
    }

    public void setFlowThreshold(int flowThreshold) {
        this.flowThreshold = flowThreshold;
    }

    public int getCheckInterval() {
        return checkInterval;
    }

    public void setCheckInterval(int checkInterval) {
        this.checkInterval = checkInterval;
    }
}
